package com.power.using.mydaggerp.ui.fragment.personal.child;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.power.using.mydaggerp.R;
import com.power.using.mydaggerp.base.fragment.BaseCompatFragment;

import butterknife.BindView;
import butterknife.Unbinder;

/**
 * Created by 聪明一只哈 on 2019/10/14.
 * Time: 2019/10/14  8:47
 */
public class PersonalSettingFragment extends BaseCompatFragment {

    @BindView(R.id.toolbar)
    Toolbar toolbar;
    Unbinder unbinder;

    public static PersonalSettingFragment newInstance() {
        Bundle args = new Bundle();
        PersonalSettingFragment fragment = new PersonalSettingFragment();
        fragment.setArguments(args);
        return fragment;
    }


    @Override
    public int getLayoutId() {
        return R.layout.fragment_personal_setting;
    }

    @Override
    public void initUI(View view, @Nullable Bundle savedInstanceState) {
        toolbar.setNavigationIcon(R.mipmap.ic_arrow_back_white);
        toolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressedSupport();
            }
        });

    }


}
